﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Data;
using QLTV_Public;

namespace QLTV_BLL
{
  public  class Lop_BLL
    {
      Lop_Data lop = new Lop_Data();
      public DataTable LayDuLieu()
      {
          return lop.LayDuLieu();
      }
      public DataTable taoBang(string sql)
      {
          return lop.taoBang(sql);
      }
      public int Insert_Lop(Lop_Public tenLop, Lop_Public maDonVi, Lop_Public khoaHoc, Lop_Public ghiChu)
      {
          return lop.insert_Lop(tenLop,maDonVi,khoaHoc,ghiChu);
      }
      public int Update_Lop(Lop_Public maLop, Lop_Public tenLop, Lop_Public maDonVi, Lop_Public khoaHoc, Lop_Public ghiChu)
      {
          return lop.update_Lop(maLop,tenLop,maDonVi,khoaHoc,ghiChu);
      }
      public int Delete_Lop(Lop_Public maLop)
      {
          return lop.delete_Lop(maLop);
      }
    }
}
